#!/usr/bin/env bash
source ~/.bashrc
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion;
NODE_VERSION='v8'
export NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/dist;
nvm install "$NODE_VERSION"
npm config set registry https://registry.npm.taobao.org
npm install yarn -g
yarn config set registry https://registry.npm.taobao.org
source ~/dotfiles/symlink-setup.sh
# after linked the dotfiles you need to execute the statement below manualy
# source ~/.bashrc
# NVM="$HOME/.nvm/nvm.sh"
# chmod +x "$NVM"
